<!DOCTYPE html>
<html>
	<head>
		<title>yematu</title>
		<meta charset="utf-8"/>
		<style type="text/css">
			*{
				margin: 0px;
				padding: 0px;
			}
			#b{
				width: 410px;
			}
			#o{
				width: 77px;
				height: 30px;
				color: #fff;
				border: 1px solid #bc0e0f;
				background: #bc0e0f;
				font-weight: bold;
				line-height: 30px;
				text-align: center; 
				float: left;
			}
			#f{
				width: 77px;
				height: 30px;
				margin-left: 10px;
				color: #fff;
				border: 1px solid #bc0e0f;
				background: #bc0e0f;
				font-weight: bold;
				line-height: 30px;
				text-align: center; 
				float: left;
			}
			li{
				display: inline-block;
				width: 35px;
				border: 1px solid #bc0e0f;
				margin-left: 10px;
				line-height: 30px;
				text-align: center;
				float: left;
			}
			#a li:hover{
				color: #fff;
				background: #bc0e0f;
			}
		</style>
	</head>
	<body>
		<div id="b">
			<div id="o">上一页</div>
			<div id="a">
				<ul>
					<li>1</li>
					<li>2</li>
					<li>3</li>
					<li>4</li>
					<li>6</li>
				</ul>
			</div>
			<div id="f">下一页</div>
		</div>
	</body>
</html>